//
//  UILable+Extension.swift
//  weibo001
//
//  Created by ios on 15/11/5.
//  Copyright © 2015年 ios. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(title:String,fontSize:CGFloat=14,color:UIColor=UIColor.darkGrayColor()) {
        
           self.init()
        textColor = color
        text = title
        font = UIFont.systemFontOfSize(fontSize)
        numberOfLines = 0
        //文字水平居中
        textAlignment = NSTextAlignment.Center
        
        
        
    }


}
